Home

Operator Usage

Name

table

Description

table[label, op1, ..., opn] input-sp
Generate a pretty print table, where:
The first column consists of the kets in the input superposition
Subsequent columns are the result of the given operator applied to those input kets
Often it is useful to define operator alias's so that a column has the desired label
If the operator applied to a ket returns the empty ket |> then that table cell will be empty


Examples




See also

Operator type

superposition compound context